home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
utils
/
inst101
/
sample.scr
< prev
next >
Wrap
Text File
|
1994-09-12
|
5KB
|
125 lines
;===============================================================================
; Install sample script
;===============================================================================
;
;
; All lines are restricted to 80 characters.
;
; Everything after semicolon (;) is considered to be a comment and is ignored.
;
;
; Let us assume that we have the following directory structure:
;
; \ (root)
; |
; |___INVEST
; | |
; | |___DATA
; | |
; | |___EXAMPLES
; |
; |
;
;
; and we want to distribute our new Invest System with the same directory
; structure (and the same names for directories under INVEST). After
; installation we want to run SETUP.EXE and pass parameter '/auto'.
;
;
; These are the files to be send:
;
; directory file name description
;
; INVEST READ.ME latest info
; INVEST.EXE main program
; INV010.DLL subprogram
; INV020.DLL subprogram
; INV030.DLL subprogram
; INV040.DLL subprogram
; INVSCRN screen definition file
; SETUP.EXE setup program
;
; DATA INVCFG.DAT configuration file
; INVCUST.DAT customer file (empty)
; INVEVENT.DAT event file (empty)
;
; EXAMPLES SAMPLE1 sample data file #1
; SAMPLE2 sample data file #2
;
;
; Following script can be used to create distribution diskette(s). Pass script
; file name as a command line parameter to INSTBLD (ie. INSTBLD SAMPLE.SCR).
;
; Note that your current directory must be \INVEST and you should have few
; formated (and empty) floppies ready.
;
; Below are the parameters which INSTBLD uses to create INSTALL.DAT. If you
; do not pass script file name, INSTBLD will prompt you for each parameter.
;
; If you want you can create script file partially. INSTBLD will ask you for
; all the missing parameters (ie. if the end of script file is at 'min CPU'
; line, INSTBLD will ask you for minimum disk space, compression speed/size
; specifier, suggested directory, program to run and files to compress).
;
;
;
;-------------------------------------------------------------------------------
a ;destination floppy disk
read.me ;file to copy (uncompressed)
;no more files to copy (must be blank)
Copyright (c) 1994, Your name here ;(c)
Invest System Installation ;header line for install screen
330 ;min DOS (3.30)
386 ;min CPU (386)
3000000 ;min destination disk space (3 Mb)
m ;compression speed/size spec (medium)
\invest ;suggested directory
setup /auto ;program to run after installation
invest.exe ;main program from \INVEST dir
inv*.dll ;subprograms from \INVEST dir
invscr ;screen definition file from \INVEST dir
setup.exe ;setup program from \INVEST dir
data\inv*.dat ;data files from \INVEST\DATA dir
examples\sample? ;sample files from \INVEST\EXAMPLES dir
;no more files to compress (must be blank)
;-------------------------------------------------------------------------------
;
; Destination diskette will contain these files:
;
; READ.ME
; INSTALL.EXE
; INSTALL.DAT
;
; Note that INSTALL.DAT can be spread over multiple floppies.
;
; When INSTALL.EXE is run from the distribution disk it will read INSTALL.DAT
; and create the same directory structure as above, decompress all the files
; and put them into their corresponding directories.
;
; Destination disk and base directory (in our example suggested base directory
; is \INVEST) are chosen by the end user.
;
; If, for some reasons, we want to distribute only programs (not the data
; files or sample data), just comment out (;) lines
;
; data\inv*.dat
; examples\sample?
;
;
; Hint: you might want to have two scripts for your application:
; - one for a full blown system (programs files, data files, examples)
; - one for a software updates (program files only).
;
;
;
; Zoran Milenovic
; Zoran Computing Co.
; 5855 N. Sheridan Rd. Suite 8-D
; Chicago IL 60660
; phone (312) 275-0029
; e-mail: zoranm@interaccess.com
;
;===============================================================================
; End of Install sample script
;===============================================================================